<?php
class Telephone
{
	public $telephone;
	public $cpf;
	
	public static function cadastraTelephone($v_telephone, $v_cpf, $v_type)
	{
		include "ConnectBD.php";
		$procedure = "insert into Telefone values ('".$v_cpf ."', '".$v_telephone ."', '". $v_type ."')";
		$query = mysql_query($procedure, $id);
	}
	
	public static function updateTelephone($v_cpf, $v_telephone, $v_type)
	{
		include "ConnectBD.php";
		$procedure = ("call editar_telefone('". $v_cpf ."', ". $v_type .", '". $v_telephone ."')");
		$query = mysql_query($procedure, $id);		
	}
}
?>
